package org.codetranslators.compiler.tiger.lexer;

public class TigerSym {

	  public static final int DIVIDE = 40;
	  public static final int STRING_LITERAL = 47;
	  public static final int FUNCTION = 6;
	  public static final int LTE = 34;
	  public static final int UMINUS = 11;
	  public static final int LPAREN = 18;
	  public static final int INT = 43;
	  public static final int ARRAY = 3;
	  public static final int MINUS = 37;
	  public static final int FOR = 16;
	  public static final int RPAREN = 19;
	  public static final int AND = 35;
	  public static final int SEMICOLON = 27;
	  public static final int LT = 32;
	  public static final int NIL = 41;
	  public static final int TYPE = 2;
	  public static final int OR = 36;
	  public static final int IN = 8;
	  public static final int COMMA = 26;
	  public static final int MULTIPLY = 39;
	  public static final int PLUS = 38;
	  public static final int ASSIGN = 10;
	  public static final int IF = 12;
	  public static final int DOT = 28;
	  public static final int OF = 4;
	  public static final int EOF = 0;
	  public static final int EQUAL = 29;
	  public static final int error = 1;
	  public static final int NEQ = 30;
	  public static final int BREAK = 42;
	  public static final int GTE = 33;
	  public static final int LBRACK = 20;
	  public static final int COLON = 24;
	  public static final int LBRACE = 22;
	  public static final int ELSE = 14;
	  public static final int RBRACK = 21;
	  public static final int TO = 25;
	  public static final int WHILE = 15;
	  public static final int LET = 7;
	  public static final int THEN = 13;
	  public static final int RBRACE = 23;
	  public static final int END = 9;
	  public static final int STRING = 44;
	  public static final int GT = 31;
	  public static final int VAR = 5;
	  public static final int DO = 17;
	  public static final int INTEGER_LITERAL = 46;
	  public static final int IDENTIFIER = 45;
	public static String getTokenDesription(int tokId)
	{		
		if(tokId == TYPE) return "TYPE";
		else if(tokId == ARRAY) return "ARRAY";
		else if(tokId == OF) return "OF";
		else if(tokId == VAR) return "VAR";
		else if(tokId == NIL) return "NIL"; 
		else if(tokId == FUNCTION) return "FUNCTION";
		else if(tokId == LET) return "LET";
		else if(tokId == IN) return "IN";
		else if(tokId == END) return "END"; 
		else if(tokId == MINUS) return "MINUS"; 
		else if(tokId == PLUS) return "PLUS";
		else if(tokId == MULTIPLY) return "MULTIPLY";
		else if(tokId == DIVIDE) return "DIVIDE"; 
		else if(tokId == EQUAL) return "EQUAL"; 
		else if(tokId == NEQ) return "NEQ";
		else if(tokId == GT) return "GT";
		else if(tokId == LT) return "LT";
		else if(tokId == GTE) return "GTE";
		else if(tokId == LTE) return "LTE";
		else if(tokId == AND) return "AND";
		else if(tokId == OR) return "OR";
		else if(tokId == ASSIGN) return "ASSIGN";
		else if(tokId == IF) return "IF";
		else if(tokId == THEN) return "THEN";
		else if(tokId == ELSE) return "ELSE";
		else if(tokId == WHILE) return "WHILE";
		else if(tokId == FOR) return "FOR";
		else if(tokId == DO) return "DO";
		else if(tokId == BREAK) return "BREAK";
		else if(tokId == LPAREN) return "LPAREN";
		else if(tokId == RPAREN) return "RPAREN";
		else if(tokId == LBRACK ) return "LBRACK";
		else if(tokId == RBRACK) return "RBRACK";
		else if(tokId == LBRACE) return "LBRACE";
		else if(tokId == RBRACE) return "RBRACE";
		else if(tokId == COLON) return "COLON";
		else if(tokId == IDENTIFIER) return "IDENTIFIER";
		else if(tokId == INTEGER_LITERAL) return "INTEGER_LITERAL";
		else if(tokId == STRING_LITERAL) return "STRING_LITERAL";
		else if(tokId == INT) return "INT";
		else if(tokId == TO) return "TO";
		else if(tokId == COMMA) return "COMMA";
		else if(tokId == STRING) return "STRING";
		else if(tokId == SEMICOLON) return "SEMICOLON";
		else if(tokId == DOT) return "DOT";
		else if(tokId == EOF) return "EOF";
		
		else return "UNKNOWN TOKEN";
	}
}